home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr27
/
mdir_v10.zip
/
MDIR10.DOC
< prev
next >
Wrap
Text File
|
1995-03-21
|
13KB
|
469 lines
Mike's Directory Fast
Version 1.0
Copyright (c) 1995 by Michael Jonathon Pierce
page 1
Table of Contents
-----------------
Disclaimer of warranty. . . . . . . . . . . . . . . . . . . . 2
License and Distribution Terms . . . . . . . . . . . . . . . 2
Copyright Information . . . . . . . . . . . . . . . . . . . . 2
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . 3
Installation. . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 Option One . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Option Two . . . . . . . . . . . . . . . . . . . . . . 4
2.3 Option Three . . . . . . . . . . . . . . . . . . . . . 4
2.4 Hints. . . . . . . . . . . . . . . . . . . . . . . . . 4
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.1 h or H or ? . . . . . . . . . . . . . . . . . . . . . 5
4.2 1 . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.3 2 . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.4 4 . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.5 6 . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.6 e or E. . . . . . . . . . . . . . . . . . . . . . . . 5
4.7 n or N. . . . . . . . . . . . . . . . . . . . . . . . 5
4.8 s or S. . . . . . . . . . . . . . . . . . . . . . . . 5
4.9 d or D. . . . . . . . . . . . . . . . . . . . . . . . 5
4.10 r or R. . . . . . . . . . . . . . . . . . . . . . . . 5
4.11 p or P. . . . . . . . . . . . . . . . . . . . . . . . 6
4.12 p- or P-. . . . . . . . . . . . . . . . . . . . . . . 6
4.13 l# or L#. . . . . . . . . . . . . . . . . . . . . . . 6
4.14 m or M. . . . . . . . . . . . . . . . . . . . . . . . 6
4.15 f or F. . . . . . . . . . . . . . . . . . . . . . . . 6
4.16 c or C. . . . . . . . . . . . . . . . . . . . . . . . 6
4.17 v of V. . . . . . . . . . . . . . . . . . . . . . . . 6
4.18 w or W. . . . . . . . . . . . . . . . . . . . . . . . 6
4.19 i or I. . . . . . . . . . . . . . . . . . . . . . . . 6
4.20 - and + . . . . . . . . . . . . . . . . . . . . . . . 6
System Requirements. . . . . . . . . . . . . . . . . . . . 7
Examples . . . . . . . . . . . . . . . . . . . . . . . . . 7
Contacting the Author. . . . . . . . . . . . . . . . . . . 7
page 2
Warranty Disclaimer
-------------------
THIS SOFTWARE AND MANUAL ARE SUPPLIED "AS IS". MICHAEL J. PIERCE
MAKES NO WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THIS SOFTWARE AND
ACCOMPANYING DOCUMENTATION. YOUR USE OF THIS SOFTWARE INDICATES
THAT YOU HAVE READ AND AGREE TO THESE AND THE OTHER TERMS INCLUDED
IN THIS DOCUMENTATION FILE AND ALL FILES SPECIFIED HEREIN.
IN NO EVENT SHALL MICHAEL J. PIERCE BE LIABLE FOR ANY DAMAGES
RESULTING FROM THE USE OF THIS SOFTWARE, INCLUDING BUT NOT LIMITED
TO, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION,
LOSS OF DATA OR BUSINESS INFORMATION, INCIDENTAL OR CONSEQUENTIAL
DAMAGES, OR OTHER FINANCIAL LOSS ARISING OUT OF THE USE OF OR
INABILITY TO USE THIS PROGRAM, EVEN IF MICHAEL J. PIERCE HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
License Terms
-------------
The software use and distribution license for users is contained
in the file LICENSE.DOC which should be included with this package.
The distribution license for vendors, BBS's, and similar groups
is contained int the accompanying file VENDOR.DOC.
Copyright Information
---------------------
Mike's Directory Fast is copyrighted (c) 1995 by Michael Jonathon
Pierce. No part of this program or package shall be reproduced or
distributed without written permission from the author except when
done in accordance with the license and distribution agreements
contained in exact copies of the original package distributed.
page 3
Introduction
------------
Mike's Directory Fast is a FAST color coded sorted directory
lister for DOS. Even with so many other sorted directory listers
out there I could not find one that had all the features I wanted.
The main problem I had was that other listers did not put the dot
'.' in the file names when they were displayed. It was a hassle to
cut and paste from other listers to the command line and then
have to add the dot manually.
I also found features implemented in some packages and not in
others. And I also came up with a few nice features of my own. I
decided that it would be nice if all these features were in one
program so I wrote Mike's Directory Fast (MDIR).
While speed was not a prime consideration in the beginning of
this project I was pleased to see that my efficient design allowed
MDIR to run at least as fast and in most cases faster then any
other directory lister that I have tried.
Some of the main features are one, two, four, or six column
display, the ability to do listings of subdirectories, and self
paging for text mode displays. As it turns out, MDIR also makes
a decent file finder.
Installation
------------
MDIR works best if you place it in a directory that is in your
path. Those of you who need help, keep reading, the rest can skip
this section.
For installation you have three basic courses of action. One,
copy the program into a directory in your path. Two, copy the
program into a directory and then place that directory in your
path. Or three, copy the program into any directory.
2.1 Option One:
Step 1
Locate the file AUTOEXEC.BAT on the disk or drive that
you will be booting from. Display the file by using the command
"TYPE AUTOEXEC.BAT" or something similar. If the file is long and
runs off the top of the screen too fast try the command
"TYPE AUTOEXEC.BAT | MORE" and hitting the space bar to advance the
screens.
Step 2
Locate the line in AUTOEXEC.BAT the says "PATH=" something
the simplist line is usually "PATH=C:\;C:\DOS". If there is more
than one directory they should be separated by a ';'. Choose one
of these directories as your destination directory.
Step 3
When your current directory is the directory and disk where the
package is located use the command "COPY *.* `destination'" where
destination, with out the `', is the destination directory from step
2. For example, if the package is on drive A and in the root
directory of that disk do the following if you want to copy the
page 4
package to the root directory of C drive:
CD A:\
COPY *.* C:\
2.2 Option Two
Step 1
Follow step 1 from above.
Step 2
Edit, or create, AUTOEXEC.BAT adding your destination directory
to the path. Be sure to separate it from the last directory in
your path with a semicolon ';'. Please remember that the path can
only be 128 characters long unless you use some other path extension
utility.
Step 3
Follow step 3 from above.
2.3 Option Three
The only step is to follow step 3 from above. This option does not
make much sense to use because in order to run the program you must
either be using the directory that the program is located in as your
current directory, or specify where the program is located at the
command line. This takes time and makes MDIR more trouble that it
is worth.
2.4 Hints
There are two things that I noticed make it nicer to run MDIR.
First, it helps to have a disk cache. Second, I have shortened the
name to M.EXE making it easier to run.
page 5
Usage
-----
The command line usage is as follows:
"MDIR [[options] [directory][\filter]] ..."
What does this mean? MDIR can be run with no command line
options. This will give you a listing of the current directory.
Directories for listing can be specified. The options will effect
only the directories that follow them. Any number of options and
directories can be specified as long as the command line is less
than 128 characters long, DOS limit.
Options
-------
All options must be preceded by a '-' or a '/', not a '\'. Default
means that the option is active if it is not overridden.
4.1 h or H or ?
Help, Gives a brief help message including all the options.
the character '|' means or so an option listed as "h|H|?" can
be activated by "-h" or "-H" or "-?".
4.2 1
One column display, Displays extended file information
including name, size, date and time of last update, and the
System, Read only, Hidden, and Archive flags.
4.3 2
Two column display, Displays name, size, and date and time of
last update.
4.4 4
Four column display, Displays name and size. This is the
default.
4.5 6
Six column display, Displays only the name.
4.6 e or E
Sort by extension, then by base name within a set of extensions.
This is the default.
4.7 n or N
Sort by the base name and then by the extension within a set of
base names
4.8 s or S
Sort by size, then by the name if sizes are equal.
4.9 d or D
Sorts by date and time of last update.
4.10 r or R
Unsorted or Raw display.
page 6
4.11 p or P
Pauses the display between pages. This is default.
4.12 p- or P-
No Pausing between screen pages. No space between the 'p' and
the '-'.
4.13 l# or L#
Listing of subdirectories. The '#' here is replaced by a
number to limit the depth of the listing or left blank to go
down as far a possible.
4.14 m or M
Minimal listing, does the basic listing but does not display
any information that takes extra time. This is fast because
sometimes the search for the Volume Serial Number takes a little
time.
4.15 f or F
Full information listing, gives the directory, Volume Label,
free space, file count, total size, and the Volume Serial Number
if any. This is default.
4.16 c or C
Force 25 line display mode. This will change the display mode
if different from the current mode. MDIR figures out what the
current mode is if no video mode is specified.
4.17 V or V
Force 43 line display for EGA monitors or 50 lines for VGA
monitors.
4.18 w or W
Turn off direct screen writing. If you have trouble with the
display when you run MDIR then try this option.
4.19 i or I
Display registration information, including registration number
and name if the program is registered.
4.20 - and +
- sorts in descending order, + sorts in acceding order. + is
the default.
page 7
System Requirements
-------------------
MDIR has been tested with DOS 3.3, 5.0, 6.0, and 6.2 but should
work with any DOS 2.1 and above. It should also work on any IBM
PC and compatibles.
Examples
--------
I have included a few examples here to try to clear up anything
that might be confusing.
MDIR
Full listing of the current working directory, includes directory
name, Volume Name (if any), file count and size, disk free space,
and Volume Serial Number (if any).
MDIR *.c *.cpp
List all files with the .c or .cpp extension.
MDIR ..\*.c *.cpp
List all files with the *.c extension in the parent directory and
all files with the .cpp extension in the current working
directory.
MDIR -L1 *.c *.cpp
List all files in the current working directory or any
subdirectories with the extension .c or .cpp.
MDIR -L *.c *.cpp
List all files in the current working directory and directories
below it with the extension .c or .cpp.
MDIR -L c:\*.c
List all files of drive C with the extension .c.
Contacting the Author
---------------------
I would appreciate any feed back you can give even if you don't
register the program. If you do send me feedback and you have not
registered I will not harass you about it. Just drop me a
post card at P.O. Box 68113, Raleigh NC 27613. Or send me E-mail
at mjpierce@nando.net.